package org.zfes.snowier.zbss.xzy.biz.member.model;
import org.zfes.snowier.core.data.IBaseModel;
public class Member extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public Member() {}
	public Member(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="默认所属租户不能为空")
	  private java.lang.Long tenantId;
	  @org.hibernate.validator.constraints.Length(min=0,max=50,message="家庭昵称长度不能大于50")
	  private java.lang.String familyNickname;
	  private java.util.Date createTime;
	  private java.lang.Byte focusOn;
 
	
	//<-------------------------------------------->
	public Member setTenantId(java.lang.Long tenantId){
	 this.tenantId=tenantId;
	 return this;
	}
	public java.lang.Long getTenantId(){
		return this.tenantId;
	}
	public Member setFamilyNickname(java.lang.String familyNickname){
		this.familyNickname=familyNickname==null?null:familyNickname.trim();
	 return this;
	}
	public java.lang.String getFamilyNickname(){
		return this.familyNickname;
	}
	public Member setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public Member setFocusOn(java.lang.Byte focusOn){
	 this.focusOn=focusOn;
	 return this;
	}
	public java.lang.Byte getFocusOn(){
		return this.focusOn;
	}
	@Override
	public String toString() {
		return "Member [tenantId=" + tenantId + ", familyNickname=" + familyNickname + ", createTime=" + createTime
				+ ", focusOn=" + focusOn + "]";
	}

}
